package com.tarena.all;
class Student{
	private String name;
	private int age;
	private int banji;
	private int number;
		
	public Student() {
		super();
	}

	public Student(String name, int age, int banji, int number) {
		super();
		this.name = name;
		this.age = age;
		this.banji = banji;
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getBanji() {
		return banji;
	}

	public void setBanji(int banji) {
		this.banji = banji;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public  void outPut(){
	System.out.println("姓名是："+getName());
	System.out.println("年龄是："+getAge());
	System.out.println("班级是："+getBanji());
	System.out.println("学号是："+getNumber());
	}
}

public class Demo01{
		public static void main(String args[]){
		Student stu=new Student("yeren",22,158302,20113833);
		 stu.outPut();
		 System.out.println("");
		 System.out.println("");
		 System.out.println("");
		 Student stu1=new Student("ye55",22,113302,2016523833);
		 stu1.outPut();
		 System.out.println();
		}
	} 